package Nisha.designPatterns;

public class notifyObserversDemo {
	
	public static void main(String[] args) {
		

	Subscribers subscribers = new Subscribers();
	IObserver observer1 = new Observer1();
	IObserver observer2 = new Observer2();	
	subscribers.addObserver(observer1);
	subscribers.addObserver(observer2);
	subscribers.setValue(40);	
	
	
	}
	
	

}
